package hibernate.model;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.NamedQueries;
import org.hibernate.annotations.NamedQuery;
import org.hibernate.annotations.Parameter;

@SuppressWarnings("serial")
@Entity
@Table(name = "tv", catalog = "emmy")
@NamedQueries({ 
@NamedQuery(name = "findTvUretici", 	query = "from Tv where ureticiid = :tUretici"),
@NamedQuery(name = "findTvEkranBoyutu",	query = "from Tv where ekranBoyutu like :tEkranBoyutu"),
@NamedQuery(name = "findTvAspectRatio",	query = "from Tv where aspectRatio like :tAspectRatio"),
@NamedQuery(name = "findTvParlaklik", 	query = "from Tv where parlaklik like :tParlaklik"),
@NamedQuery(name = "findTvRenkSistemi", query = "from Tv where renkSistemi like :tRenkSistemi"),
@NamedQuery(name = "findTvKontrast", 	query = "from Tv where kontrast like :tKontrast"),
@NamedQuery(name = "findTvizlemeAcisi",	query = "from Tv where izlemeAcisi like :tizlemeAcisi"),
@NamedQuery(name = "findTvCozunurluk", 	query = "from Tv where cozunurluk like :tCozunurluk"),
@NamedQuery(name = "findTvPcSinylAlgi",	query = "from Tv where pcSinyalAlgi like :tPcSinyalAlgi"),
@NamedQuery(name = "findTvVideoFormati",query = "from Tv where videoFormati like :tVideoFormati"),
@NamedQuery(name = "findTvScart", 		query = "from Tv where scart like :tScart"),
@NamedQuery(name = "findTvComponent", 	query = "from Tv where component like :tComponent"),
@NamedQuery(name = "findTvTuner", 		query = "from Tv where tuner like :tTuner"),
@NamedQuery(name = "findTvCompsitVideo",query = "from Tv where compositeVideo like :tCompositeVideo"),
@NamedQuery(name = "findTvHdmi", 		query = "from Tv where hdmi like :tHdmi"),
@NamedQuery(name = "findTvUsb", 		query = "from Tv where usb like :tUsb"),
@NamedQuery(name = "findTvAudioin", 	query = "from Tv where audioin like :tAudioin"),
@NamedQuery(name = "findTvAudioOut", 	query = "from Tv where audioOut like :tAudioOut"),
@NamedQuery(name = "findTvKulaklikGrs", query = "from Tv where kulaklikGirisi like :tKulaklikGirisi"),
@NamedQuery(name = "findTvMotionFlow", 	query = "from Tv where motionFlow like :tMotionFlow"),
@NamedQuery(name = "findTvTheatheMode", query = "from Tv where theatheMode like :tTheatheMode"),
@NamedQuery(name = "findTvAmbientSensr",query = "from Tv where ambientSensor like :tAmbientSensor"),
@NamedQuery(name = "findTvPictureMode", query = "from Tv where pictureMode like :tPictureMode"),
@NamedQuery(name = "findTvScreenMode", 	query = "from Tv where screenMode like :tScreenMode"),
@NamedQuery(name = "findTvDgtal3dComb", query = "from Tv where dgtal3dComb like :tDgtal3dComb"),
@NamedQuery(name = "findTvUsbMediaFilt",query = "from Tv where usbMediaFilter like :tUsbMediaFilter"),
@NamedQuery(name = "findTvSaat", 		query = "from Tv where saat like :tSaat"),
@NamedQuery(name = "findTvSleepTimer", 	query = "from Tv where sleepTimer like :tSleepTimer"),
@NamedQuery(name = "findTvOnOffTimer", 	query = "from Tv where onOffTimer like :tOnOffTimer"),
@NamedQuery(name = "findTvTeletext", 	query = "from Tv where teletext like :tTeletext"),
@NamedQuery(name = "findTvPcPowerManag",query = "from Tv where pcPowerManage like :tPcPowerManage"),
@NamedQuery(name = "findTvEnrjTsrfModu",query = "from Tv where enerjiTasarrufMode like :tEnerTasarrufMode"),
@NamedQuery(name = "findTvHoparlor", 	query = "from Tv where hoparlor like :tHoparlor"),
@NamedQuery(name = "findTvSesModu", 	query = "from Tv where sesModu like :tSesModu"),
@NamedQuery(name = "findTvDolbyDigital",query = "from Tv where dolbyDigital like :tDolbyDigital"),
@NamedQuery(name = "findTvSurroundMode",query = "from Tv where surroundMode like :tSurroundMode"),
@NamedQuery(name = "findTvStandBy", 	query = "from Tv where standBy like :tStandBy"),
@NamedQuery(name = "findTvHomeMode", 	query = "from Tv where homeMode like :tHomeMode"),
@NamedQuery(name = "findTvAgirlik", 	query = "from Tv where agirlik like :tAgirlik"),
@NamedQuery(name = "findTvYerdekiBoyut",query = "from Tv where yerdekiBoyutu like :tYerdekiBoyutu"),
@NamedQuery(name = "findTvDuvrdkiBoyut",query = "from Tv where duvardakiBoyutu like :tDuvardakiBoyutu"),
@NamedQuery(name = "findTvGarantiSure",	query = "from Tv where garantiSuresi like :tGarantiSuresi")
})
public class Tv implements java.io.Serializable {

	private long aygitid;
	private Sirketprofil sirketprofil;
	private Aygit aygit;
	private String ekranBoyutu;
	private String aspectRatio;
	private String parlaklik;
	private String renkSistemi;
	private String kontrast;
	private String izlemeAcisi;
	private String cozunurluk;
	private String pcSinyalAlgi;
	private String videoFormati;
	private String hd;
	private String scart;
	private String component;
	private String tuner;
	private String compositeVideo;
	private String hdmi;
	private String usb;
	private String audioin;
	private String audioOut;
	private String kulaklikGirisi;
	private String motionFlow;
	private String theatheMode;
	private String ambientSensor;
	private String pictureMode;
	private String screenMode;
	private String dgtal3dComb;
	private String usbMediaFilter;
	private String saat;
	private String sleepTimer;
	private String onOffTimer;
	private String teletext;
	private String pcPowerManage;
	private String enerjiTasarrufMode;
	private String hoparlor;
	private String sesModu;
	private String dolbyDigital;
	private String surroundMode;
	private String standBy;
	private String homeMode;
	private String agirlik;
	private String yerdekiBoyutu;
	private String duvardakiBoyutu;
	private String garantiSuresi;

	public Tv() {
	}

	public Tv(Sirketprofil sirketprofil, Aygit aygit, String ekranBoyutu, String aspectRatio,
			String parlaklik, String renkSistemi, String kontrast,
			String izlemeAcisi, String cozunurluk, String pcSinyalAlgi,
			String videoFormati, String hd, String scart, String component,
			String tuner, String compositeVideo, String hdmi, String usb,
			String audioin, String audioOut, String kulaklikGirisi,
			String motionFlow, String theatheMode, String ambientSensor,
			String pictureMode, String screenMode, String dgtal3dComb,
			String usbMediaFilter, String saat, String sleepTimer,
			String onOffTimer, String teletext, String pcPowerManage,
			String enerjiTasarrufMode, String hoparlor, String sesModu,
			String dolbyDigital, String surroundMode, String standBy,
			String homeMode, String agirlik, String yerdekiBoyutu,
			String duvardakiBoyutu, String garantiSuresi) {
		this.sirketprofil = sirketprofil;
		this.aygit = aygit;
		this.ekranBoyutu = ekranBoyutu;
		this.aspectRatio = aspectRatio;
		this.parlaklik = parlaklik;
		this.renkSistemi = renkSistemi;
		this.kontrast = kontrast;
		this.izlemeAcisi = izlemeAcisi;
		this.cozunurluk = cozunurluk;
		this.pcSinyalAlgi = pcSinyalAlgi;
		this.videoFormati = videoFormati;
		this.hd = hd;
		this.scart = scart;
		this.component = component;
		this.tuner = tuner;
		this.compositeVideo = compositeVideo;
		this.hdmi = hdmi;
		this.usb = usb;
		this.audioin = audioin;
		this.audioOut = audioOut;
		this.kulaklikGirisi = kulaklikGirisi;
		this.motionFlow = motionFlow;
		this.theatheMode = theatheMode;
		this.ambientSensor = ambientSensor;
		this.pictureMode = pictureMode;
		this.screenMode = screenMode;
		this.dgtal3dComb = dgtal3dComb;
		this.usbMediaFilter = usbMediaFilter;
		this.saat = saat;
		this.sleepTimer = sleepTimer;
		this.onOffTimer = onOffTimer;
		this.teletext = teletext;
		this.pcPowerManage = pcPowerManage;
		this.enerjiTasarrufMode = enerjiTasarrufMode;
		this.hoparlor = hoparlor;
		this.sesModu = sesModu;
		this.dolbyDigital = dolbyDigital;
		this.surroundMode = surroundMode;
		this.standBy = standBy;
		this.homeMode = homeMode;
		this.agirlik = agirlik;
		this.yerdekiBoyutu = yerdekiBoyutu;
		this.duvardakiBoyutu = duvardakiBoyutu;
		this.garantiSuresi = garantiSuresi;
	}

	@GenericGenerator(name = "generator", strategy = "foreign", parameters = @Parameter(name = "property", value = "aygit"))
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "aygitid", unique = true, nullable = false)
	public long getAygitid() {
		return this.aygitid;
	}

	public void setAygitid(long aygitid) {
		this.aygitid = aygitid;
	}

	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "ureticiid", nullable = false)
	public Sirketprofil getSirketprofil() {
		return this.sirketprofil;
	}

	public void setSirketprofil(Sirketprofil sirketprofil) {
		this.sirketprofil = sirketprofil;
	}

	@OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
	@PrimaryKeyJoinColumn
	public Aygit getAygit() {
		return this.aygit;
	}

	public void setAygit(Aygit aygit) {
		this.aygit = aygit;
	}

	@Column(name = "ekranBoyutu", nullable = false, length = 25)
	public String getEkranBoyutu() {
		return this.ekranBoyutu;
	}

	public void setEkranBoyutu(String ekranBoyutu) {
		this.ekranBoyutu = ekranBoyutu;
	}

	@Column(name = "aspectRatio", nullable = false, length = 25)
	public String getAspectRatio() {
		return this.aspectRatio;
	}

	public void setAspectRatio(String aspectRatio) {
		this.aspectRatio = aspectRatio;
	}

	@Column(name = "parlaklik", nullable = false, length = 25)
	public String getParlaklik() {
		return this.parlaklik;
	}

	public void setParlaklik(String parlaklik) {
		this.parlaklik = parlaklik;
	}

	@Column(name = "renkSistemi", nullable = false, length = 25)
	public String getRenkSistemi() {
		return this.renkSistemi;
	}

	public void setRenkSistemi(String renkSistemi) {
		this.renkSistemi = renkSistemi;
	}

	@Column(name = "kontrast", nullable = false, length = 25)
	public String getKontrast() {
		return this.kontrast;
	}

	public void setKontrast(String kontrast) {
		this.kontrast = kontrast;
	}

	@Column(name = "izlemeAcisi", nullable = false, length = 25)
	public String getIzlemeAcisi() {
		return this.izlemeAcisi;
	}

	public void setIzlemeAcisi(String izlemeAcisi) {
		this.izlemeAcisi = izlemeAcisi;
	}

	@Column(name = "cozunurluk", nullable = false, length = 25)
	public String getCozunurluk() {
		return this.cozunurluk;
	}

	public void setCozunurluk(String cozunurluk) {
		this.cozunurluk = cozunurluk;
	}

	@Column(name = "pcSinyalAlgi", nullable = false, length = 25)
	public String getPcSinyalAlgi() {
		return this.pcSinyalAlgi;
	}

	public void setPcSinyalAlgi(String pcSinyalAlgi) {
		this.pcSinyalAlgi = pcSinyalAlgi;
	}

	@Column(name = "videoFormati", nullable = false, length = 25)
	public String getVideoFormati() {
		return this.videoFormati;
	}

	public void setVideoFormati(String videoFormati) {
		this.videoFormati = videoFormati;
	}

	@Column(name = "hd", nullable = false, length = 25)
	public String getHd() {
		return this.hd;
	}

	public void setHd(String hd) {
		this.hd = hd;
	}

	@Column(name = "scart", nullable = false, length = 25)
	public String getScart() {
		return this.scart;
	}

	public void setScart(String scart) {
		this.scart = scart;
	}

	@Column(name = "component", nullable = false, length = 25)
	public String getComponent() {
		return this.component;
	}

	public void setComponent(String component) {
		this.component = component;
	}

	@Column(name = "tuner", nullable = false, length = 25)
	public String getTuner() {
		return this.tuner;
	}

	public void setTuner(String tuner) {
		this.tuner = tuner;
	}

	@Column(name = "compositeVideo", nullable = false, length = 25)
	public String getCompositeVideo() {
		return this.compositeVideo;
	}

	public void setCompositeVideo(String compositeVideo) {
		this.compositeVideo = compositeVideo;
	}

	@Column(name = "hdmi", nullable = false, length = 25)
	public String getHdmi() {
		return this.hdmi;
	}

	public void setHdmi(String hdmi) {
		this.hdmi = hdmi;
	}

	@Column(name = "usb", nullable = false, length = 25)
	public String getUsb() {
		return this.usb;
	}

	public void setUsb(String usb) {
		this.usb = usb;
	}

	@Column(name = "audioin", nullable = false, length = 25)
	public String getAudioin() {
		return this.audioin;
	}

	public void setAudioin(String audioin) {
		this.audioin = audioin;
	}

	@Column(name = "audioOut", nullable = false, length = 25)
	public String getAudioOut() {
		return this.audioOut;
	}

	public void setAudioOut(String audioOut) {
		this.audioOut = audioOut;
	}

	@Column(name = "kulaklikGirisi", nullable = false, length = 25)
	public String getKulaklikGirisi() {
		return this.kulaklikGirisi;
	}

	public void setKulaklikGirisi(String kulaklikGirisi) {
		this.kulaklikGirisi = kulaklikGirisi;
	}

	@Column(name = "motionFlow", nullable = false, length = 25)
	public String getMotionFlow() {
		return this.motionFlow;
	}

	public void setMotionFlow(String motionFlow) {
		this.motionFlow = motionFlow;
	}

	@Column(name = "theatheMode", nullable = false, length = 25)
	public String getTheatheMode() {
		return this.theatheMode;
	}

	public void setTheatheMode(String theatheMode) {
		this.theatheMode = theatheMode;
	}

	@Column(name = "ambientSensor", nullable = false, length = 25)
	public String getAmbientSensor() {
		return this.ambientSensor;
	}

	public void setAmbientSensor(String ambientSensor) {
		this.ambientSensor = ambientSensor;
	}

	@Column(name = "pictureMode", nullable = false, length = 25)
	public String getPictureMode() {
		return this.pictureMode;
	}

	public void setPictureMode(String pictureMode) {
		this.pictureMode = pictureMode;
	}

	@Column(name = "screenMode", nullable = false, length = 25)
	public String getScreenMode() {
		return this.screenMode;
	}

	public void setScreenMode(String screenMode) {
		this.screenMode = screenMode;
	}

	@Column(name = "dgtal3dComb", nullable = false, length = 25)
	public String getDgtal3dComb() {
		return this.dgtal3dComb;
	}

	public void setDgtal3dComb(String dgtal3dComb) {
		this.dgtal3dComb = dgtal3dComb;
	}

	@Column(name = "usbMediaFilter", nullable = false, length = 25)
	public String getUsbMediaFilter() {
		return this.usbMediaFilter;
	}

	public void setUsbMediaFilter(String usbMediaFilter) {
		this.usbMediaFilter = usbMediaFilter;
	}

	@Column(name = "saat", nullable = false, length = 25)
	public String getSaat() {
		return this.saat;
	}

	public void setSaat(String saat) {
		this.saat = saat;
	}

	@Column(name = "sleepTimer", nullable = false, length = 25)
	public String getSleepTimer() {
		return this.sleepTimer;
	}

	public void setSleepTimer(String sleepTimer) {
		this.sleepTimer = sleepTimer;
	}

	@Column(name = "onOffTimer", nullable = false, length = 25)
	public String getOnOffTimer() {
		return this.onOffTimer;
	}

	public void setOnOffTimer(String onOffTimer) {
		this.onOffTimer = onOffTimer;
	}

	@Column(name = "teletext", nullable = false, length = 25)
	public String getTeletext() {
		return this.teletext;
	}

	public void setTeletext(String teletext) {
		this.teletext = teletext;
	}

	@Column(name = "pcPowerManage", nullable = false, length = 25)
	public String getPcPowerManage() {
		return this.pcPowerManage;
	}

	public void setPcPowerManage(String pcPowerManage) {
		this.pcPowerManage = pcPowerManage;
	}

	@Column(name = "enerjiTasarrufMode", nullable = false, length = 25)
	public String getEnerjiTasarrufMode() {
		return this.enerjiTasarrufMode;
	}

	public void setEnerjiTasarrufMode(String enerjiTasarrufMode) {
		this.enerjiTasarrufMode = enerjiTasarrufMode;
	}

	@Column(name = "hoparlor", nullable = false, length = 25)
	public String getHoparlor() {
		return this.hoparlor;
	}

	public void setHoparlor(String hoparlor) {
		this.hoparlor = hoparlor;
	}

	@Column(name = "sesModu", nullable = false, length = 25)
	public String getSesModu() {
		return this.sesModu;
	}

	public void setSesModu(String sesModu) {
		this.sesModu = sesModu;
	}

	@Column(name = "dolbyDigital", nullable = false, length = 25)
	public String getDolbyDigital() {
		return this.dolbyDigital;
	}

	public void setDolbyDigital(String dolbyDigital) {
		this.dolbyDigital = dolbyDigital;
	}

	@Column(name = "surroundMode", nullable = false, length = 25)
	public String getSurroundMode() {
		return this.surroundMode;
	}

	public void setSurroundMode(String surroundMode) {
		this.surroundMode = surroundMode;
	}

	@Column(name = "standBy", nullable = false, length = 25)
	public String getStandBy() {
		return this.standBy;
	}

	public void setStandBy(String standBy) {
		this.standBy = standBy;
	}

	@Column(name = "homeMode", nullable = false, length = 25)
	public String getHomeMode() {
		return this.homeMode;
	}

	public void setHomeMode(String homeMode) {
		this.homeMode = homeMode;
	}

	@Column(name = "agirlik", nullable = false, length = 25)
	public String getAgirlik() {
		return this.agirlik;
	}

	public void setAgirlik(String agirlik) {
		this.agirlik = agirlik;
	}

	@Column(name = "yerdekiBoyutu", nullable = false, length = 25)
	public String getYerdekiBoyutu() {
		return this.yerdekiBoyutu;
	}

	public void setYerdekiBoyutu(String yerdekiBoyutu) {
		this.yerdekiBoyutu = yerdekiBoyutu;
	}

	@Column(name = "duvardakiBoyutu", nullable = false, length = 25)
	public String getDuvardakiBoyutu() {
		return this.duvardakiBoyutu;
	}

	public void setDuvardakiBoyutu(String duvardakiBoyutu) {
		this.duvardakiBoyutu = duvardakiBoyutu;
	}

	@Column(name = "garantiSuresi", nullable = false, length = 10)
	public String getGarantiSuresi() {
		return this.garantiSuresi;
	}

	public void setGarantiSuresi(String garantiSuresi) {
		this.garantiSuresi = garantiSuresi;
	}
}